/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.LSP.fixLSP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.LSP.fixLSP.fixLSP.IfixLSP;
import za.ac.cput.principles.LSP.fixLSP.fixLSP.impl.Square;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
    @Bean(name = "LSP")
    public IfixLSP IfixLSP() 
    {
        return new Square();
    }

    @Bean
    public IfixLSP newLSP() 
    {
        return new Square();
    }

    @Bean(name = "NLSP")
    public IfixLSP Square()
    {
        return new Square();
    }
}
